<?php require VIEW_ROOT.'/common/header.php'?>

<form action="?m=finance&a=inc_edit" method="post">
<input type="hidden" name="inc_id" value="<?php echo $res['inc_id']; ?>" />
<table>
	<tr>
		<th colspan="2">编辑收入</th>
	</tr>
	<tr>
		<td width="100">说明</td>
		<td class="frm"><input type="text" name="inc_name" value="<?php echo $res['inc_name']?>" /></td>
	</tr>
	<tr>
		<td>金额</td>
		<td class="frm"><input type="text" name="amount" value="<?php echo $res['amount']?>" style="width:50px;" /></td>
	</tr>
	<tr>
		<td>时间</td>
		<td class="frm"><input type="text" name="create_time" value="<?php echo date('Y-m-d', $res['create_time'])?>" /></td>
	</tr>
	<tr>
		<td></td>
		<td class="frm"><input type="submit" value="提交" /></td>
	</tr>
</table>
</form>

<?php require VIEW_ROOT.'/common/footer.php'?>